package com.example.zgdemo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.zgdemo.bean.TGoods;
import com.example.zgdemo.mapper.GoodsMapper;
import com.example.zgdemo.service.GoodsService;
import org.springframework.stereotype.Service;

@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, TGoods> implements GoodsService {
    @Override
    public TGoods getGoodsById(Long id) {
        return this.getById(id);
    }
}
